import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';

class LoadingDialog extends Dialog {
  const LoadingDialog({super.key});

  @override
  Widget build(BuildContext context) {
    return Material(
      color: Colors.transparent,
      child: Container(
        alignment: Alignment.center,
        child: SizedBox(
          width: 42,
          height: 42,
          child: Lottie.asset("assets/lottie_loading.json"),
        ),
      ),
    );
  }
}
